<style>
    td {
        padding: 10px 5px;
    }

    p {
        margin: 0 0 0px;
    }
</style>
<table border="0" cellspacing="0" style="width:665.25pt;border:none;" class="ke-zeroborder">
    <tbody>
    <tr>
        <td width="743" valign="center" colspan="8" style="border:none;"><p class="MsoNormal" align="center"
                                                                            style="text-align:center;vertical-align:middle;">
            <b><span style="font-family:微软雅黑;color:#0070C0;font-size:18pt;">{$w_config['company']}</span></b><b><span
                style="font-family:微软雅黑;color:#0070C0;font-size:18pt;"><br/></span></b><b><span
                style="font-family:微软雅黑;color:#0070C0;font-size:18pt;">工 &nbsp;&nbsp;&nbsp;作&emsp;单</span></b><b><span
                style="font-family:微软雅黑;color:#0070C0;font-size:18pt;"></span></b></p></td>
        <td width="72" valign="center" style="border:none;"><p class="MsoNormal"><span
                style="font-family:宋体;font-size:11pt;">&nbsp;</span></p></td>
        <td width="72" valign="center" style="border:none;"><p class="MsoNormal" align="center"
                                                               style="text-align:center;"><span
                style="font-family:宋体;font-size:11pt;">&nbsp;</span></p></td>
    </tr>
    <tr>
        <td valign="center" colspan="5" style="border:none;background:#FFFFFF;">
            <p class="MsoNormal" style="vertical-align:middle;">
                <b>&nbsp;项目编号：{$row.number?$row.number:$row.id} </b><b></b>
            </p></td>
        <td valign="center" style="border:none;background:#FFFFFF;"><p class="MsoNormal" style="vertical-align:middle;">
            <b>下单日期：</b><b></b></p></td>
        <td valign="center" colspan="2" style="border:none;background:#FFFFFF;"><p class="MsoNormal"
                                                                                   style="vertical-align:middle;"><b>{:datetime($row.order_time,'Y-m-d')}</b><b></b>
        </p></td>
        <td valign="center" style="border:none;"><p class="MsoNormal">&nbsp;</p></td>
        <td valign="center" style="border:none;"><p class="MsoNormal" align="center"
                                                    style="text-align:center;vertical-align:middle;"><br/></p></td>
    </tr>
    <tr>
        <td valign="center" style="border:1.0000pt solid #000000;"><p class="MsoNormal" align="center"
                                                                      style="text-align:center;vertical-align:middle;">
            <b>客户名称</b><b></b></p></td>
        <td valign="center" colspan="3" style="border:1.0000pt solid #000000;"><p class="MsoNormal" align="center"
                                                                                  style="text-align:center;vertical-align:middle;">
            {$row.customer_name}
        </p></td>
        <td valign="center" style="border:1.0000pt solid #000000;"><p class="MsoNormal" align="center"
                                                                      style="text-align:center;vertical-align:middle;">
            <b>联系人</b><b></b></p></td>
        <td width="279" valign="center" colspan="3" style="border:1.0000pt solid #000000;"><p class="MsoNormal"
                                                                                              align="center"
                                                                                              style="text-align:center;vertical-align:middle;">
            <span style="font-family:楷体;font-size:12pt;">
                {$row.contacts_name}
            </span>
            <span style="font-family:楷体;font-size:12pt;"></span>
        </p></td>
        <td valign="center" style="border:none;"><p class="MsoNormal">&nbsp;</p></td>
        <td valign="center" style="border:none;"><p class="MsoNormal" align="center"
                                                    style="text-align:center;vertical-align:middle;"><br/></p></td>
    </tr>
    <tr>
        <td valign="center" style="border:1.0000pt solid #000000;"><p class="MsoNormal" align="center"
                                                                      style="text-align:center;vertical-align:middle;">
            <b>工作名称</b><b></b></p></td>
        <td valign="center" colspan="7" style="border:1.0000pt solid #000000;">
            <p class="MsoNormal" align="center" style="text-align:center;vertical-align:middle;">
                {$row.name}
            </p></td>
        <td valign="center" style="border:none;"><p class="MsoNormal">&nbsp;</p></td>
        <td valign="center" style="border:none;"><p class="MsoNormal" align="center" style="text-align:center;">
            &nbsp;</p></td>
    </tr>
    <tr>
        <td valign="center" style="border:1.0000pt solid #000000;"><p class="MsoNormal" align="center"
                                                                      style="text-align:center;vertical-align:middle;">
            <b>作业内容</b><b></b></p></td>
        <td width="665" valign="center" colspan="7" style="border:1.0000pt solid #000000;">
            {:build_checkboxs('row[jobs][]', $w_config['jobs'], $row['jobs'])}
        </td>
        <td valign="center" style="border:none;"><p class="MsoNormal">&nbsp;</p></td>
        <td valign="center" style="border:none;"><p class="MsoNormal" align="center" style="text-align:center;">
            &nbsp;</p></td>
    </tr>
    <tr>
        <td valign="center" style="border:1.0000pt solid #000000;"><p class="MsoNormal" align="center"
                                                                      style="text-align:center;vertical-align:middle;">
            <b>业务经理</b><b></b></p></td>
        <td valign="center" colspan="3" style="border:1.0000pt solid #000000;"><p class="MsoNormal" align="center"
                                                                                  style="text-align:center;vertical-align:middle;">
            {$row.sadmin.nickname}
        </p></td>
        <td valign="center" style="border:1.0000pt solid #000000;"><p class="MsoNormal" align="center"
                                                                      style="text-align:center;vertical-align:middle;">
            <b>项目经理</b><b></b></p></td>
        <td valign="center" colspan="3" style="border:1.0000pt solid #000000;"><p class="MsoNormal" align="center"
                                                                                  style="text-align:center;vertical-align:middle;">
            {$row.padmin.nickname}
        </p></td>
        <td valign="center" style="border:none;"><p class="MsoNormal">&nbsp;</p></td>
        <td valign="center" style="border:none;"><p class="MsoNormal" align="center" style="text-align:center;">
            &nbsp;</p></td>
    </tr>
    <tr>
        <td valign="center"  style="border:1.0000pt solid #000000;">
            <p class="MsoNormal" align="center"
                                                                                  style="text-align:center;vertical-align:middle;">
            <b>开始日期</b><b></b></p>
        </td>
        <td valign="center" colspan="2" style="border:1.0000pt solid #000000;">
            <p class="MsoNormal" align="center"
                                                                                  style="text-align:center;vertical-align:middle;">
            {:datetime($row.start_time,'Y/m/d H:s')}
        </p>
        </td>
        <td valign="center" style="border:1.0000pt solid #000000;">
            <p class="MsoNormal" align="center"
                                                                      style="text-align:center;vertical-align:middle;">
            <b>完成日期</b><b></b></p>
        </td>
        <td valign="center" colspan="2" style="border:1.0000pt solid #000000;"><p class="MsoNormal" align="center"
                                                                                  style="text-align:center;vertical-align:middle;">
            {:datetime($row.end_time,'Y/m/d H:s')}
        </p>
        </td>
        <td valign="center"  style="border:1.0000pt solid #000000;">
            <p class="MsoNormal" align="center"
               style="text-align:center;vertical-align:middle;">
                <b>初稿时间</b><b></b></p>
        </td>

        <td valign="center" style="border:1.0000pt solid #000000;">
            {:datetime($row.test_time,'Y/m/d H:s')}
        </td>
        <td valign="center" style="border:none;">

        </td>
    </tr>


    <tr>
        <td valign="center" rowspan="3" style="border:1.0000pt solid #000000;vertical-align:middle;">
            <p class="MsoNormal" align="center"
               style="text-align:center;vertical-align:middle;">
                <b>
                    <div style="width: 20px;margin-left: 15px;">工作内容及要求</div>
                </b>

                <b></b></p>
        </td>
        <td valign="center" style="border:1.0000pt solid #000000;"><p class="MsoNormal" align="center"
                                                                      style="text-align:center;vertical-align:middle;">
            <b>内容</b><b></b></p>
        </td>

        <td width="558" valign="top" colspan="6" style="border:1.0000pt solid #000000;">
            <p class="MsoNormal" style="vertical-align:top;">
            <span style="font-family:楷体;font-size:12pt;">
              {php}echo mb_substr($row['content'], 0, 220);{/php}
            </span>

            </p>
        </td>
        <td valign="center" style="border:none;"><p class="MsoNormal">&nbsp;</p></td>
        <td valign="center" style="border:none;"><p class="MsoNormal" align="center" style="text-align:center;">
            &nbsp;</p></td>
    </tr>
    <tr>
        <td valign="center" style="border:1.0000pt solid #000000;"><p class="MsoNormal" align="center"
                                                                      style="text-align:center;vertical-align:middle;">
            <b>备注</b><b></b></p></td>
        <td width="558" valign="top" colspan="6" style="border:1.0000pt solid #000000;">
            <p class="MsoNormal" style="vertical-align:top;">
            <span style="font-family:楷体;font-size:12pt;">
                            {$row.remark}
            </span>
                <span style="font-family:楷体;font-size:12pt;"></span></p>
        </td>
        <td valign="center" style="border:none;"><p class="MsoNormal">&nbsp;</p></td>
        <td valign="center" style="border:none;"><p class="MsoNormal" align="center" style="text-align:center;">
            &nbsp;</p></td>
    </tr>
    <tr>
        <td valign="center" style="border:none;"><p class="MsoNormal" align="center"
                                                    style="text-align:center;vertical-align:middle;"><b>附件</b><b></b>
        </p></td>
        <td width="558" valign="top" colspan="6" style="border:1.0000pt solid #000000;"><p class="MsoNormal"
                                                                                           style="vertical-align:top;">
            <span style="font-family:楷体;font-size:12pt;">登录系统查看</span><span
                style="font-family:楷体;font-size:12pt;"></span></p></td>
        <td valign="center" style="border:none;"><p class="MsoNormal">&nbsp;</p></td>
        <td valign="center" style="border:none;"><p class="MsoNormal" align="center" style="text-align:center;">
            &nbsp;</p></td>
    </tr>

    <tr>
        <td valign="center" rowspan="{:count($row.tasks)+1}" style="border:1.0000pt solid #000000;">
            <p class="MsoNormal" align="center"
               style="text-align:center;vertical-align:middle;">
                <b>
                    <div style="width: 20px;margin-left: 15px;">工作流程</div>
                </b>

                <b></b></p>
        </td>
        <td valign="center" style="border:1.0000pt solid #000000;"><p class="MsoNormal" align="center"
                                                                      style="text-align:center;vertical-align:middle;">
            <b>{:__("制作部门")}</b><b></b></p></td>
        <td valign="center" style="border:1.0000pt solid #000000;"><p class="MsoNormal" align="center"
                                                                      style="text-align:center;vertical-align:middle;">
            <b>{:__("接单签字")}</b><b></b></p></td>
        <td valign="center" style="border:1.0000pt solid #000000;"><p class="MsoNormal" align="center"
                                                                      style="text-align:center;vertical-align:middle;">
            <b>{:__("计划工时")}</b><b></b></p></td>
        <td valign="center" style="border:1.0000pt solid #000000;"><p class="MsoNormal" align="center"
                                                                      style="text-align:center;vertical-align:middle;">
            <b>{:__("结单确认")}</b><b></b></p></td>
        <td valign="center" style="border:1.0000pt solid #000000;"><p class="MsoNormal" align="center"
                                                                      style="text-align:center;vertical-align:middle;">
            <b>{:__("交付日期")}</b><b></b></p></td>
        <td valign="center" style="border:1.0000pt solid #000000;"><p class="MsoNormal" align="center"
                                                                      style="text-align:center;vertical-align:middle;">
            <b>{:__("实际用时")}</b><b></b></p></td>
        <td valign="center" style="border:1.0000pt solid #000000;"><p class="MsoNormal" align="center"
                                                                      style="text-align:center;vertical-align:middle;">
            <b>{:__("审核/指导")}</b><b></b></p></td>
        <td valign="center" style="border:none;"><p class="MsoNormal">&nbsp;</p></td>
        <td valign="center" style="border:none;"><p class="MsoNormal" align="center" style="text-align:center;">
            &nbsp;</p></td>
    </tr>

    {volist name="row.tasks" id="vo" }
    <tr>
        <td valign="center" style="border:1.0000pt solid #000000;"><p class="MsoNormal" align="center"
                                                                      style="text-align:center;vertical-align:middle;">
            <b>{:isset($vo['group']['name'])?$vo.group.name:''}</b><b></b></p>
        </td>
        <td valign="center" style="border:1.0000pt solid #000000;">
            <p class="MsoNormal" align="center" style="text-align:center;">&nbsp;

            </p>
        </td>
        <td valign="center" style="border:1.0000pt solid #000000;">
            <p class="MsoNormal" align="center" style="text-align:center;vertical-align:middle;">
                {:$vo.plan_hours}
            </p>
        </td>
        <td valign="center" style="border:1.0000pt solid #000000;"><p class="MsoNormal" align="center"
                                                                      style="text-align:center;">&nbsp;</p></td>
        <td valign="center" style="border:1.0000pt solid #000000;"><p class="MsoNormal" align="center"
                                                                      style="text-align:center;">&nbsp;</p></td>
        <td valign="center" style="border:1.0000pt solid #000000;"><p class="MsoNormal" align="center"
                                                                      style="text-align:center;">&nbsp;</p></td>
        <td valign="center" style="border:1.0000pt solid #000000;"><p class="MsoNormal" align="center"
                                                                      style="text-align:center;">&nbsp;</p></td>
        <td valign="center" style="border:none;"><p class="MsoNormal">&nbsp;</p></td>
        <td valign="center" style="border:none;"><p class="MsoNormal" align="center" style="text-align:center;">
            &nbsp;</p></td>
    </tr>
    {/volist}

    <tr>
        <td valign="center" colspan="8" style="border:1.0000pt solid #000000;"><p class="MsoNormal" align="center"
                                                                                  style="text-align:center;vertical-align:middle;">
            <b>{:__("完稿校对签字")}</b><b></b></p></td>
        <td valign="center" style="border:none;"><p class="MsoNormal">&nbsp;</p></td>
        <td valign="center" style="border:none;"><p class="MsoNormal" align="center" style="text-align:center;">
            &nbsp;</p></td>
    </tr>
    <tr>
        <td valign="center" style="border:1.0000pt solid #000000;"><p class="MsoNormal" style="vertical-align:middle;">
            <b>{:__("技术组长")}</b><b></b></p></td>
        <td valign="center" colspan="3" style="border:1.0000pt solid #000000;"><p class="MsoNormal" align="center"
                                                                                  style="text-align:center;">
            <b>&nbsp;</b></p></td>
        <td valign="center" style="border:1.0000pt solid #000000;"><p class="MsoNormal" style="vertical-align:middle;">
            <b>{:__("项目总监")}</b><b></b></p></td>
        <td valign="center" colspan="3" style="border:1.0000pt solid #000000;"><p class="MsoNormal" align="center"
                                                                                  style="text-align:center;">
            <b>&nbsp;</b></p></td>
        <td valign="center" style="border:none;"><p class="MsoNormal">&nbsp;</p></td>
        <td valign="center" style="border:none;"><p class="MsoNormal" align="center" style="text-align:center;"><br/>
        </p></td>
    </tr>
    </tbody>
</table>
